package com.mrlee.service.impl;

import com.mrlee.bean.Module;
import com.mrlee.mapper.ModuleMapper;
import com.mrlee.service.ModuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by dllo on 18/3/21.
 */
@Service
public class ModuleServiceImpl implements ModuleService {
    @Resource
    private ModuleMapper moduleMapper;
    @Override
    public List<Module> selectModule(String name) {
        return moduleMapper.selectModule(name);
    }
}
